package com.ph.irp.base.settlement.dao;

import java.util.List;

import com.ph.irp.model.PBaseSettlement;

public interface PBaseSettlementDAO {
	/**
	 * 
	 * @return
	 * @throws Throwable
	 */
	List<PBaseSettlement> getAllSettlements()throws Throwable;
	
	void deleteSettlementsById(Object[] settlementIds)throws Throwable;
	
	PBaseSettlement getSettlementById(Integer settlementId)throws Throwable;
	
	List<PBaseSettlement> getSettlementsByCode(String settlementCode)throws Throwable;
	
	List<PBaseSettlement> getSettlementsByName(String settlementName)throws Throwable;
	
	List<PBaseSettlement> getSettlementsByNameAndCode(String measureUnitName,String measureUnitCode)throws Throwable;
	
	void updateSettlement(PBaseSettlement pbaseSettlement)throws Throwable;
	
	void addSettlement(PBaseSettlement pbaseSettlement)throws Throwable;
	
}
